The GRIB_GETDATA function returns the key/value pairs associated with a requested record in the form of an ORDEREDHASH.
In this example, we locate a GRIB file and ask IDL to return the 2nd record.
file = FILEPATH('atl.grb2',SUBDIRECTORY=['examples','data'])
data = GRIB_GETDATA(file, 2)
IDL returns:
help, data
DATA ORDEREDHASH <ID=1 NELEMENTS=224>
Result = GRIB_GETDATA( filename, record)
Returns an ORDEREDHASH of the requested record. The ORDEREDHASH contains all of the keys present in the record.
A string denoting the name of the GRIB file for which IDL will return a record.
The number of the record in the GRIB file IDL will return.
|
8.3 |
Introduced |